# name : lubridate ymd etc. Parse dates with y m d components
# key : ymd.parse@lubridate
# contributor: Shuguang Sun
# --
lubridate::${1:$$(yas-choose-value '("ymd" "ydm" "mdy" "myd" "dmy" "dym" "yq" "ym" "my"))}(${2:x})